<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>流程控制-选择结构</title>
</head>
<body>
    <h1>流程控制-选择结构</h1>

    <h3>单分支</h3>
    {% if uname == 'bit' %}
        <p>北理工</p>
    {% endif %}

    <hr>
    <h3>双分支</h3>
    {% if uname == 'bit' %}
        <p>北理工</p>
    {% else %}
        <p>程序员</p>
    {% endif %}

    
    <hr>
    <h3>多分支</h3>
    {% if uname == 'bit' %}
        <p>北理工</p>
    {% elif uname == 'xysz'%}
        <p>骁勇善战</p>
    {% else %}
        <p>学Python 去北理</p>
    {% endif %}
</body>
</html>